<template>
	<DocWrap>
		<DocCodepen>
			<UIIcon icon="search"></UIIcon>
			<UIIcon icon="web"></UIIcon>
			<UIIcon icon="pickures" :size="12"></UIIcon>
			<UIIcon icon="pickures" :size="16"></UIIcon>
			<UIIcon icon="pickures" :size="20"></UIIcon>
			<UIIcon icon="pickures" :size="30"></UIIcon>
			<UIIcon icon="close"></UIIcon>
			<UIIcon icon="close" tag="span"></UIIcon>
			<UIIcon icon="close" loading></UIIcon>
		</DocCodepen>
		<DocUse>
			<h3>props</h3>
			<el-table :data="propsData">
				<el-table-column prop="prop" label="属性" width="180" />
				<el-table-column prop="type" label="类型" width="180" />
				<el-table-column prop="exp" label="说明" />
			</el-table>
		</DocUse>
	</DocWrap>
</template>

<script setup>
	
	import DocWrap from '../../doc/wrap';
	import DocCodepen from '../../doc/codepen';
	import DocUse from '../../doc/use';
	import UIIcon from '@/ui/icon';
	
	const propsData = [
		{
			prop: 'tag',
			type: 'String(i)',
			exp: '渲染标签'
		}, {
			prop: 'prefix',
			type: 'String(lulu_iconfont__)',
			exp: '前缀'
		}, {
			prop: 'icon',
			type: 'String',
			exp: 'icon'
		}, {
			prop: 'size',
			type: 'String,Number',
			exp: '字体大小'
		}, {
			prop: 'loading',
			type: 'Boolean',
			exp: 'loading状态'
		}
	];
	
</script>

<style lang="scss" scoped>
</style>